package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class NetInterfaceInfo implements Trans<NetInterfaceInfo, CompleteEntity.NetInterfaceInfo> {

    /**
     * 接口标记
     */
    private InterfaceMark interfaceMark;

    /**
     * 是否连接
     */
    private Boolean isConnect;

    /**
     * 网口速率
     */
    private String portSpeed;

    /**
     * 是否是备份口
     */
    private Boolean isBackup;

    /**
     * 是否切换到备份网口
     */
    private Boolean isSwitchToBackup;

    /**
     * 是否禁止输出
     */
    private Boolean isBanOutput;
}

